package com.ruan.controller;

import com.ruan.entity.Result;
import com.ruan.service.CommentsTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName:CommentTypeController
 * @Author:阮昇
 * @Description:
 * @Datetime: 2023/7/4 11:18
 **/
@RestController
@RequestMapping("/comments")
public class CommentsTypeController {

    @Autowired
    private CommentsTypeService commentsTypeService;

    @RequestMapping("/getCommentsTypeList")
    public Result getCommentsTypeList(){
        return commentsTypeService.getCommentsTypeList();
    }
}
